package com.putong35.common.baseactfrag.adapter;

import android.view.View;

import androidx.databinding.ViewDataBinding;
import androidx.recyclerview.widget.RecyclerView;

/**
 * Created by Administrator on 2017/7/20.
 */

public class DataBindViewHolder extends RecyclerView.ViewHolder {
    private ViewDataBinding binding;

    public DataBindViewHolder(View itemView) {
        super(itemView);
    }

    public void setBinding(ViewDataBinding binding) {
        this.binding = binding;
    }

    public ViewDataBinding getBinding() {
        return this.binding;
    }
}